package com.gitee.francis.lw.form.model.request;

import java.util.Date;
import java.util.HashMap;
import java.util.List;

import lombok.Getter;
import lombok.Setter;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hzlemone.valid.FormValid;

/**
 * @ClassName ControlRequestDTO.java
 * @Description TODO
 * @author Francis.LW
 * @date 2018年7月1日
 **/

@Setter
@Getter
public class FormItemRequestDTO extends FormValid {

	private String formItemType;

	private String templateId;

	private String groupId;

	@JsonProperty("controlCode")
	private String hzLemonEControlCode;

	private List<HashMap<String, Object>> itemAttr;

	@JsonIgnore
	private String hzLemonEFormItemAttr;

	@JsonProperty("name")
	private String hzLemonEFormItemName;

	@JsonProperty("code")
	private String hzLemonEFormItemCode;

	@JsonProperty("verifyRule")
	private String hzLemonEFormItemVerifyRule;

	@JsonProperty("description")
	private String hzLemonEFormItemDescription;

	private Integer itemSort;

	@JsonIgnore
	private Date createdTime;
}
